import App from './App'


import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'

// 引入uView主JS库
import uView from "uview-ui";
Vue.use(uView);

// vuex
import store from "./store"
Vue.prototype.$store = store;

// 引入自定义工具
import tools from '@/common/tools.js'
Vue.prototype.$tools = tools;

import topVue from '@/components/topVue.vue'
Vue.component("topVue", topVue)

import loginVue from '@/components/login.vue'
Vue.component("loginVue", loginVue)

// 请求
import request from "@/common/request.js"
Vue.prototype.$request = request;

// 过滤器
import  '@/common/filters.js'

// #ifdef H5
	// 引入vConsole
	// import VConsole from 'vconsole';
	// 初始化vConsole
	// const vConsole = new VConsole();
// #endif

const app = new Vue({
    ...App
})
app.$mount()

